package org.jeecg.modules.sg.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 调宿申请表
 * @Author: jeecg-boot
 * @Date:   2022-09-29
 * @Version: V1.0
 */
@Data
@TableName("sg_change_room")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sg_change_room对象", description="调宿申请表")
public class SgChangeRoom implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "shzt")
	@Dict(dicCode = "shzt")
    @ApiModelProperty(value = "状态")
    private java.lang.String status;
	/**申请时间*/
	@Excel(name = "申请时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "申请时间")
    private java.util.Date appDate;
	/**审核时间*/
	@Excel(name = "审核时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "审核时间")
    private java.util.Date audDate;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**人员*/
    @Excel(name = "人员",dictTable ="sg_person",dicText = "name",dicCode = "id", width = 15)
    @ApiModelProperty(value = "人员")
    @Dict(dictTable ="sg_person",dicText = "name",dicCode = "id")
    private java.lang.String presonId;
	/**原房间*/
    @Excel(name = "原房间",dictTable ="sg_room",dicText = "name",dicCode = "id", width = 15)
    @ApiModelProperty(value = "原房间")
    @Dict(dictTable ="sg_room",dicText = "name",dicCode = "id")
    private java.lang.String oldRoomId;
	/**原床位*/
    @Excel(name = "床位号", dictTable ="sg_berth",dicText = "name",dicCode = "id", width = 15)
    @Dict(dictTable ="sg_berth",dicText = "name",dicCode = "id")
    private java.lang.String oldBerthId;
	/**房间*/
    @Excel(name = "房间",dictTable ="sg_room",dicText = "name",dicCode = "id", width = 15)
    @ApiModelProperty(value = "房间")
    @Dict(dictTable ="sg_room",dicText = "name",dicCode = "id")
    private java.lang.String roomId;
	/**床位*/
    @Excel(name = "床位号", dictTable ="sg_berth",dicText = "name",dicCode = "id", width = 15)
    @Dict(dictTable ="sg_berth",dicText = "name",dicCode = "id")
    private java.lang.String berthId;
	/**调宿时间*/
	@Excel(name = "调宿时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "调宿时间")
    private java.util.Date changeDate;
}
